import sys
import traceback
from PyQt5.QtWidgets import *
from src import enum, window


try:
    app = QApplication(sys.argv)
    enum.main_window = window.Gui()
    enum.main_window.show()
    sys.exit(app.exec_())
except Exception as e:
    print('str(Exception):\t', str(Exception))
    print('traceback.print_exc():')
    traceback.print_exc()
    print('traceback.format_exc():\n%s' % traceback.format_exc())